package com.foreknow.demo4;

import java.awt.*;

public class CustomWindwo extends Frame {

    public CustomWindwo(String title){
    this.setSize(400,300);
    this.setTitle(title);
    this.setVisible(true);

    }
    public static void main(String[] args) {
        CustomWindwo customWindwo = new CustomWindwo("abac");
    }
}
